import React, { Component } from "react";
import "./index.scss";
import MainLayout from "@component/mainLayout/mainLayout";
import { refresh } from "@/component/scroll/index2";
class Reduction extends Component {
	constructor(props) {
		super(props);
	}

	render() {
		let _pageParams = {
			header: {
				title: "立减99元",
				goBackAction: () => {
					this.props.history.goBack();
				}
			},

			cacheLifecycles: this.props.cacheLifecycles,
			history: this.props.history
		};
		return (
			<MainLayout pageParams={_pageParams} isScroll={true}>
				<div className="reduction">
					<img
						src="https://jrcdn.yonghui.cn/yhjrActivity/coupon/lijian_99.png"
						alt=""
						onLoad={refresh}
					/>
				</div>
			</MainLayout>
		);
	}
}

export default Reduction;
